package com.atmaowei.service;

import com.atmaowei.controller.request.TeacherPageRequest;
import com.atmaowei.entity.Course;
import com.atmaowei.entity.Department;
import com.atmaowei.entity.Teacher;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TeacherService {

    void save(Teacher teacher);

    String getCnoByCname(String cname);

    String getTnameByTno(String tno);

    Course getCnameByCno(String cno);

    PageInfo<Teacher> page(TeacherPageRequest teacherPageRequest);

    void delete(String tno);

    void update(Teacher teacher);

    Teacher getByTno(String tno);

    List<Course> getAllCourse();

    void deleteSelected(List<Teacher> teachers);

    void statusChange(String tno);
}
